import java.io.File;

class FileDirDemo1{
	public static void main(String args[]){
		String directory = "c:/jython2.2.1";
		File f1 = new File(directory);
		if(f1.isDirectory()){
			System.out.println("검색 디렉토리 "+ directory);
			System.out.println("========================");
			String s[] = f1.list();
			
			for(int i=0; i<s.length; i++){
				File f = new File(directory + "/" + s[i]);
				if(f.isDirectory()){
					System.out.println(s);
					System.out.println(f1.getName());
				}
			}
		}
	}
}